<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2011 Alex Paréj.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html>
<ui:component xmlns:ui="http://java.sun.com/jsf/facelets"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:p="http://primefaces.org/ui" 
              xmlns:md="http://java.sun.com/jsf/composite/md"
              xmlns:s="http://jboss.org/seam/faces">
    <h:panelGrid columns="2">
        <h:outputText style="height:18px;line-height: 18px" value="#{msg.lomtarHasznalata}"/>
        <p:selectBooleanCheckbox value="#{felhasznaloSessionController.felhasznalo.lomtarHasznalata}"/>
        <h:outputText style="height:18px;line-height: 18px" value="#{msg.emailErtesitesekFogadasa}"/>
        <p:selectBooleanCheckbox value="#{felhasznaloSessionController.felhasznalo.emailErtesites}"/>
    </h:panelGrid>
    <div class="adatMezok">
        <ul>
            <li>
                <p><h:outputLabel for="infoAblakMegjHossza" value="#{msg.infoAblakMegjelenitesenekHossza}"/></p>
            <p:spinner id="infoAblakMegjHossza" 
                       value="#{felhasznaloSessionController.felhasznalo.infoAblakMegjlHossza}"
                       min="1" max="60" suffix="s"/>
            </li>
        </ul>
        <ul>
            <li>
                <p><h:outputText value="#{msg.stilus}"/></p>
            <p:themeSwitcher effect="" value="#{beallitasaimController.valasztottStilus}" style="width:150px"> 
                <f:selectItems value="#{beallitasaimController.stilusok}" />
            </p:themeSwitcher>
            </li>
        </ul>
    </div>
</ui:component>